package com.yuanfeng.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 参加活动报名店铺记录表
 * @TableName shop_record
 */
@TableName(value ="shop_record")
@Data
public class ShopRecordEntity implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 活动类型
     */
    private String activityType;

    /**
     * 店铺名称
     */
    private String shopName;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 店铺id
     */
    private Integer shopId;

    /**
     * 店铺等级
     */
    private Integer shopGradeId;

    /**
     * 详细地址
     */
    private String shopAddress;

    /**
     * 店铺介绍
     */
    private String shopDetail;

    /**
     * 报名活动ID
     */
    private Integer activityId;

    /**
     * 参与时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date participationTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}